package com.vitabuybuy.tv.ui.tencent.liveroom.roomutil.widget

import androidx.recyclerview.widget.RecyclerView
import com.library.common.base.BindRecycAdapter
import com.vitabuybuy.tv.R
import com.vitabuybuy.tv.databinding.ItemChatGiftBinding
import com.vitabuybuy.tv.ui.tencent.liveroom.bean.GiftListBean

class ChatMsgGiftAdapter:BindRecycAdapter<ItemChatGiftBinding,GiftListBean>(){
    override fun onBindViewHolder(
        mBinding: ItemChatGiftBinding,
        itemData: GiftListBean,
        holder: RecyclerView.ViewHolder,
        position: Int
    ) {
        mBinding.itemData = itemData
    }

    override fun normalViewId(viewType: Int): Int {
        return R.layout.item_chat_gift
    }

}